package com.lb.baselib.base;

import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;

import com.trello.rxlifecycle2.components.support.RxDialogFragment;

/**
 * Created by kang on 2017/6/14.
 */

public class DialogBase extends RxDialogFragment {
    @Override
    public void show(FragmentManager manager, String tag) {
        FragmentTransaction ft = manager.beginTransaction();
        ft.add(this, tag);
        ft.commitAllowingStateLoss();
    }

}
